import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtCore import QLocale
from gui.main_window import MainWindow

def main():
    app = QApplication(sys.argv)
    
    # 使用系统默认样式
    app.setStyle("Fusion")  # 保持清晰的外观
    
    QLocale.setDefault(QLocale(QLocale.English))
    
    window = MainWindow()
    window.showMaximized()  # Open full screen by default.
    sys.exit(app.exec_())

if __name__ == "__main__":
    main()